﻿
namespace RoomyDungeonGenerator
{
	/// <summary>Represents a grid cell on a tile-based map.</summary>
	public class Tile
	{
		/// <summary>The x-coordinate of the tile</summary>
		public int X { get; set; }
		/// <summary>The y-coordinate of the tile</summary>
		public int Y { get; set; }
		/// <summary>The type of the tile</summary>
		public TileTypes Type { get; set; }
		/// <summary>Returns the room this tile is in. Null if the tile is in a corridor.</summary>
		public Room ContainingRoom { get; set; }
	}
}
